import {commGet, commPost} from "@utils/service/index.js";

export function getCarrierList(data) {
    return commGet({
        url: `/wms/carrier/page`,
        method: 'get',
        data
    })
}

export function addCarrier(data) {
    return commPost({
        url: `/wms/carrier/add`,
        method: 'post',
        data
    })
}

export function editCarrier(data) {
    return commPost({
        url: `/wms/carrier/edit`,
        method: 'post',
        data
    })
}

